<template>
  <div>
    <div>
      <h4>平衡评定</h4>
      <el-row>
        <el-col>Bobath三级平衡</el-col>
        <el-col :span="8">
            <span>坐位 </span>
            <el-select v-model="pgForm.balance_assessment_value1" placeholder="" style="width: 30%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
            <span> 级</span>
        </el-col>
        <el-col :span="8">
            <span>站位 </span>
            <el-select v-model="pgForm.balance_assessment_value2" placeholder="" style="width: 30%;">
              <el-option
                v-for="item in options"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
            <span> 级</span>
        </el-col>
      </el-row>
      <el-row type="flex" justify="space-between">
        <el-col>Berg平衡</el-col>
        <el-col :span="6">
            <el-button type="primary">填写《Berg平衡量表》</el-button>
        </el-col>
        <el-col :span="6">
            <el-input v-model="pgForm.balance_assessment_input1" placeholder="" readonly style="width: 40%;"></el-input>
            <span> 分</span>
        </el-col>
        <el-col :span="10">
            <el-input v-model="pgForm.balance_assessment_input2" placeholder="" readonly></el-input>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "balance_assessment",
  title: "平衡评定",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data(){
    return {
      options: [{
        value: '请选择',
        label: '请选择'
      }, {
        value: '1',
        label: '1'
      }, {
        value: '2',
        label: '2'
      }, {
        value: '3',
        label: '3'
      }],
      pgForm: {
        balance_assessment_value1: '请选择',
        balance_assessment_value2: '请选择',
        balance_assessment_input1: '',
        balance_assessment_input2: ''
      }

    }
  }
}
</script>

<style scoped>

.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin: 10px 0;
}
</style>
